namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    ///  物料规则配置查询对象
    /// </summary>
    public class MaterialRuleConfigQueryDto : PagerInfo
    {
    }

    /// <summary>
    ///  物料规则配置输入输出对象
    /// </summary>
    public class MaterialRuleConfigDto
    {
        [Required(ErrorMessage = "序号不能为空")]
        public int Id { get; set; }

        public string LineCode { get; set; }

        public string StationCode { get; set; }

        public string MaterialName { get; set; }

        public string MaterialCode { get; set; }

        public string DrawingNumber { get; set; }

        public string OrderCode { get; set; }

        public string ProductType { get; set; }

        public int? StartIndex { get; set; }

        public int? EndIndex { get; set; }

        public string ProductionBatchNum { get; set; }

        public string SupplierName { get; set; }

        public int? TotalCount { get; set; }

        public int? FinishedCount { get; set; }

        public string NoteInfo { get; set; }

        public string BomVersion { get; set; }

        public DateTime? CreationTime { get; set; }

        public string CreatorName { get; set; }

        public string IsEnabled { get; set; }

        [ExcelColumn(Name = "产品类型")]
        public string ProductTypeLabel { get; set; }
    }
}